package billing.system.pool.thread;

import billing.system.SystemConfigCenter;

public class SystemConfig {

	static final int THREAD_DEFAULT_COUNT = Integer.parseInt(SystemConfigCenter.get(
			"billing.system.pool.SystemConfig.THREAD_DEFAULT_COUNT", "10"));

	public static int getThreadDefaultCount() {
		if (THREAD_DEFAULT_COUNT < 1) {
			return 10;
		}
		return THREAD_DEFAULT_COUNT;
	}
}
